#ifndef __COM_IMU_H
#define __COM_IMU_H

#include "config.h"
#include "SC7I22_driver.h"

#define DEG2RAD 0.017453293f 
#define RAD2DEG 57.29578f    
#define squa(Sq) (((float)Sq) * ((float)Sq))



void GetAngle(const _st_SC7I22 *pMpu, _st_Angle *pAngE, float dt);

float GetAccz(void);


#endif
